<ion-view view-title="注册" class="findPsd modify">
	<!--一定要手动加导航栏-->
	<ion-nav-bar>
		<ion-nav-back-button>
		</ion-nav-back-button>
	</ion-nav-bar>
  <!--描述：滑动块-->
	<ion-content class="bg">
		<!--第1步-->
		<div ng-show='stepbefore'>
			<div class="list">
				<li class="item item-input">
					<span style="width: 78px;">手机号</span>
					<input type="text" placeholder="请输入您的手机号" ng-model="input.mobile"/>
				</li>
			</div>
			
			<div class="basebtn" ng-class="input.mobile?'orangeBtn':'grayBtn'" on-tap="onNextStep()">下一步</div>
		</div>
		
		<!--第二步  ng-show='!stepbefore'-->
		<div ng-show='!stepbefore'>
			<div class="list">
				<li class="item item-input">
					<span style="width: 78px;">手机号</span>
					<input type="text" value="{{input.mobile}}" ng-disabled="true" class="timeLight" />
				</li>
				
				<li class="item padding-0" style="height: {{needVerifyCode?100:50}}px;">
					<div class="row padding-0">
						<div class="codeDivLeft" style="line-height: {{needVerifyCode?100:50}}px;">
							验证码
						</div>
						<div style="width: 100%;">
							<div class="item item-input" ng-if="needVerifyCode">
								<input type="text" maxlength="4" placeholder="图形验证码" ng-model="input.graphverifycode"/>
								<img src={{input.graphverifycode_url}} on-tap="updateVerifycode()" title="验证码" class="imgCode"/>
							</div>
							<div class="item item-input">
								<input type="text" maxlength="6" placeholder="短信验证码" ng-model="input.cellphonevcode"/>
								<div class="phoneCode">
									<span ng-show='showGetRegcode' on-tap='onGetRegcode()'>{{regCodeString}}</span>
									<span ng-show='!showGetRegcode'>{{time}}{{otherString}}</span>
								</div>
							</div>
						</div>
					</div>
				</li>
				
				<li class="item item-input">
					<span>新密码</span>
					<input type="{{inputType}}" name="phone" placeholder="请输入6-20位登录密码" ng-model="input.password"/>
					<img src="{{inputType=='password'?'./img/guilin/other/icon_eyeclose.png':'./img/guilin/other/icon_eyeopen.png'}}" width="17" on-tap="showPassword()" class="margin-right-10-my"/>
				</li>
	
				<li class="item item-input">
					<span>确认密码</span>
					<input type="{{inputType2}}" name="phone" placeholder="请再次输入新密码" ng-model="input.password2"/>
					<img src="{{inputType2=='password'?'./img/guilin/other/icon_eyeclose.png':'./img/guilin/other/icon_eyeopen.png'}}" width="17" on-tap="showPassword2()" class="margin-right-10-my"/>
				</li>
				
				<li class="item item-input">
					<span>昵称</span>
					<input type="text" placeholder="5-20位字符" maxlength="50" ng-model="input.nickname"/>
				</li>
				
				<li class="item item-input">
					<span>邮箱</span>
					<input type="email" placeholder="请输入邮箱" maxlength="200" ng-model="input.email"/>
				</li>
				<li class="item item-borderless item-input-inset bg">
					<img src="{{input.seller?'./img/guilin/other/centerout_gx.png':'./img/guilin/other/centerout_no_gx.png'}}" width="17" on-tap="applyStore()" />
					&nbsp;我要申请开店
				</li>
				
			</div>
			
			<div class="basebtn" ng-class="input.mobile&&input.password&&input.password2&&input.graphverifycode&&input.cellphonevcode?'orangeBtn':'grayBtn'" on-tap="onRegist()">完成</div>
		</div>
		
		

	</ion-content>
</ion-view>